package com.dragon.modules.yuegou.service.order;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.modules.yuegou.entity.order.OrderCouponEntity;
import com.dragon.modules.yuegou.model.order.OrderCoupon;

import java.util.List;

/**
 * 订单优惠 服务接口
 *
 * @author pbuilder generated
 * @date 2019-04-03 13:57:50
 * @version 2.0
 */
public interface OrderCouponService extends IService<OrderCouponEntity> {

	/**
	 * 列出订单优惠券
	 * 
	 * @param orderNo 订单号
	 * @return 订单优惠券列表
	 */
	List<OrderCoupon> listByOrder(String orderNo);

	/**
	 * @param skuIds skuIds
	 * @param id 模板Id
	 * @return
	 */
	List<String> skuOrderIds(List<String> skuIds, String id);

}